---------------------------------------------------------------- NED Slider Control Copyright 1995-1997 Northeast Data Corp. All Rights Reserved ---------------------------------------------------------------- Release 1.1 June 1997 This document describes the NED Slider Custom Control. CONTENTS 1. Product Description 2. Legal Information 3. Installation 4. Usage 5. Demonstration Application 6. Ordering Information 7. Support 8. Version release notes ---------------------------------------------------------------- 1. Product Description The NED Slider OCX Control is a Microsoft Windows 32-bit OCX custom control that appears to the end user as a Slider similar to those used on audio/video equipment such as stereos, tuners, and amplifiers. This control is compatible with Windows '95. and Windows NT. Being a 32-bit OLE control, the programmer can add the NED Slider Control into any 32-bit OCX container application, such as VC++, VB (32-bit), MS Access or Delphi. Use of the NED Slider Control in a finished application requires the NED Slider Control OCX (NSLIDE32.OCX) to be installed with the application. There are properties available that allow the programmer to control the behavior and appearance of the Control. The Slider can appear in two different orientations. Colors of various parts of the control can be adjusted, and there are 3D properties that let you specify such things as borders and bevels. You can also use your own bitmaps for the thumb and background. The range of the Slider can be set to any range with low and high values varying from 0 to 32767. ------------------------------------------------------------------- 2. Legal Information The purchaser of the NED Slider Control is allowed to use it and distribute it in applications without paying any royalty, and without printing or displaying a copyright notice for the control. This only includes distribution of the NED Slider Control OCX (NSLIDE32.OCX). It does not include distribution of the NSLIDE32.lic file, or the documentation that comes with the Control. The purchaser of the NED Slider Control may distribute the control OCX with applications that are networked (multiple users accessing the OCX from a file server) without paying any license fees to Northeast Data Corp. ------------------------------------------------------------------- 3. Installation Create a temp directory on your hard disk and copy all files from the distribution disk to the directory. These files include: NSLIDE32.ocx (NED Slider OCX) README.TXT (this file) DEMO.CPP (Test program file) DEMO.H (Test program file) DEMO.MAK (Test program file) DEMO.RC (Test program file) DEMODLG.CPP (Test program file) DEMODLG.H (Test program file) SLIDER.CPP (Test program file) SLIDER.H (Test program file) PICTURE.CPP (Test program file) PICTURE.H (Test program file) RESOURCE.H (Test program file) STDAFX.CPP (Test program file) STDAFX.H (Test program file) RES/DEMO.ICO (Test program file) RES/DEMO.RC2 (Test program file) If you have downloaded the NSLDVC11.ZIP file, use PKUNZIP to extract the files into the temp directory. The files listed below are required to use the OCX and demo in this archive. This files can be found in OCX5032.ZIP in the same area as NSLDVC11.ZIP. This files in this archive should be placed in the same directory as the above OCX files. MFC42.DLL (Required for OCX) MSVCRT.DLL (Required for OCX) OLEPRO32.DLL (Required for OCX) OLEAUT32.DLL (Required for OCX) REGSVR32.EXE (Control registration utility) If you already have these files on your system, they are probably located in the System or System32 directory. If this is the case, you probably do not need to download these files again. To register the OCX, place all of the above files in the System(32) directory and run the REGSVR32 on the following files: MFC42.DLL OLEPRO32.DLL NSLIDE32.OCX If you have Microsoft Access, start it and create a form or report. From the Edit menu, choose Insert Object, and check the Custom Control radio button. Choose the NED Slider control to insert it into the form or report. A 32-bit Microsoft Visual C++ example application is provided with the NED Slider control. You must have the 32-bit version of Microsoft Visual C++ installed on your machine to run this demo. The example application allows you to play with the features of the NED Slider control interactively. The demo application is not crippled in any way. The dialog specifying that this is an unregistered version of the control does not appear in the release version. ------------------------------------------------------------------- 4. Usage PROPERTIES ---------- About... - Displays the about dialog box for the Slider control. BackColor - Sets the background color. BackgroundBitmap - Name of the bitmap file to be used for the background. The bitmap will be stretched to fit the size of the control. BorderColor - Color of the border. The border is the region between the outer and inner bevels. BorderWidth - Width of the border in pixels. CenterBar - Width of the center bar. If zero is specified, no center bar appears. HiliteColor - Color of the top and left sides of the inner and outer bevels if the bevel properties are set to "Raised" or "Solid". Color of the bottom and right sides if the bevel properties are set to "Inset". InnerBevel - Solid (3), Inset (0), or Raised (2). InnerBevelWidth - The width of the inner bevel in pixels. Max - Maximum Slider value. This must be greater than the minimum Slider value. Min - Minimum Slider value. This must be less than the maximum Slider value. NeedleColor - Color of the needle, if there is no thumb bitmap specified in the ThumbBitmap property. Orientation - Horizontal (0) or Vertical(1). OuterBevel - Solid (2), Inset (0), or Raised (1). OuterBevelWidth - The width of the outer bevel in pixels. Pos - Current Slider position. This must be a value between or including the current minimum and maximum values of the Slider. ShadowColor - Black (0), Gray (1). The color of the left and top sides of the outer and inner bevels when the bevel styles are "Inset". The color of the bottom and right sides when the style is set to "Raised". ThumbBitmap - Name of the bitmap or icon file to use for the thumb. If (none) is specified, a default "needle" will be used for the thumb. The width of the bitmap will be stretched to fit a vertical slider. The height will be stretched to fit a horizontal slider. TickColor - Color of tick marks. TickMarks - The number of tick marks to display. TickStyle - Solid (2), Inset (0), or Raised (1). EVENTS ------ Scroll - The Value parameter contains the new slider position. Click - Single click of the mouse anywhere on the control. DblClick - Double click of the mouse anywhere on the control. MOUSE SUPPORT ------------- The left mouse button can be used to dray the thumb to any position. Double-clicking will instantly position the thumb under the mouse pointer. KEYBOARD SUPPORT ---------------- The slider position can be adjusted using the + and - keys. ----------------------------------------------------------------------- 5. Demonstration Application The VC++ demo app displays a Slider that shows various property settings. ----------------------------------------------------------------------- 6. Ordering Information The price of the 32-bit NED Slider OCX control is $45.00US. The price of the 16-bit NED Slider OCX control is $45.00US. The price of the NED Slider OCX Source is $230.00US. Physical shipping and handling fees in the US are $15.00US. Physical shipping and handling fees outside the US are $20.00US. ***E-mail delivery is free.*** New York State residents must add 8% sales tax. DIRECT For US orders, we accept Visa, MasterCard, Purchase Orders, check or money order. For orders outside of the US, we accept Visa or MasterCard. For credit card orders, you may call or fax us at (716) 426-7334. Please specify the following information: Product you wish to order Quantity (one per developer per product) Credit Card Type (Visa or MasterCard) Name on Credit Card Expiration Date Name and address of person the software is registered to. Phone and fax numbers e-mail address Please specify e-mail or physical delivery methods. ***E-mail delivery is free.*** COMPUSERVE The ID for the 32-bit NED Slider Contorl is 10038. The ID for the 16-bit NED Slider Control is 10037. RESELLERS at-Once Software (www.atonce.com) US sales only ObjectTiger (www.objecttiger.com) US and International Sales ----------------------------------------------------------------------- 7. Support Technical support is available only for registered users. Northeast Data Corp. 2117 Buffalo Rd., Suite 290 Rochester, NY 14624 Phone (716) 426-7334 (voice & fax) E-Mail: ned1@frontiernet.net CompuServe: 71321,3304 Home Page: http://www.frontiernet.net/~ned1/index.htm ----------------------------------------------------------------------- 8. Version Release Notes Version 1.0 - February 1996 First release. Version 1.1 - June 1997 Updated for VC++ 5.0 Compiler - smaller code size.